package dynamicJsonVerifyer.verifyers;

import cn.hutool.core.date.DateUtil;

public class DateTextFormatVerifyer extends TextFormatVerifyer {

    String formatType() {
        return "datetime";
    }

    boolean verifyTextFomrat(String format, String text) {
        return DateUtil.parse(text, format) != null;
    }


}
